package com.ldp.designpatterns.study.factory.methodFactory.impl;

import com.ldp.designpatterns.study.factory.methodFactory.service.Coffee;
import org.springframework.stereotype.Service;

/**
 * @ClassName Circle
 * @Description 简单工厂模式——步骤2：创建实现接口的实体类。
 * @Author lindipei
 * @Date 2023/10/13 10:57
 */
@Service
public class LatterCoffe implements Coffee {

    @Override
    public void addsugar() {
        System.out.println("拿铁咖啡-----");
    }
}
